//引入react
import React from 'react';
// 引入react-dom
import ReactDOM from 'react-dom';

// 引入App组件
import App from './App';
import {DevSupport} from "@react-buddy/ide-toolbox";
import {ComponentPreviews, useInitial} from "../src/dev";

ReactDOM.render(<DevSupport ComponentPreviews={ComponentPreviews}
                            useInitialHook={useInitial}
>
    <App/>
</DevSupport>, document.getElementById('root'));
